package com.jointsky.jointframe.mapper;

import org.apache.ibatis.annotations.Select;

import com.jointsky.jointframe.entity.SysUser;

public interface SysUserMapper {
	@Select("SELECT * FROM sys_user WHERE id = #{id}")
	SysUser selectById(Integer id);
	
	@Select("SELECT * FROM sys_user WHERE name = #{name}")
    SysUser selectByName(String name);

}
